/*******************************************************************/
/* @ All Rights Reserved Copyright (C) 2014 broada,Co.,Ltd.        */
/*                                                                 */
/*  NAME      = rtp_header.h                                       */
/*  NOTE      =                                                    */
/*  DATE      = 2015/08/20 by songbb                               */
/*******************************************************************/

#ifndef __RTP_HEADER_H_
#define __RTP_HEADER_H_

int rtp_header_detect(Rtp_detect_session *p_st_detect_sess
                    , char *p_payload
                    , unsigned int ui_payload_len
                    , unsigned int ui_dst_ip
                    , unsigned short us_dst_port);

int rtp_header_unpack(L7session_rtp *p_st_sess
                    , char *p_payload
                    , unsigned int ui_payload_len
                    , char *p_c_marker
                    , unsigned short *p_us_seq
                    , unsigned int *p_ui_timestamp
                    , unsigned int *p_ui_frame_len
                    , unsigned int *p_ui_skip_len);

#endif
